Class MEXButton
Class MEXButton
java.lang.Object
|
+----Button
|
+----MEXButton
-
class
MEXButton
-
extends Button
MEXButton is the class of mutual exclusive buttons.
-
See Also:
-
MEXButtonList
-
Version:
-
1.0f 25 Aug 1995
-
Author:
-
Georg Heßmann
-
MEXButton(MEXButtonList, MEXButton, int, String, int, int, int, int, Font, Font)
-
Creates an mutual exclusive button.
-
ClearChoosed()
-
Set this MEXButton to an unselected button.
-
IsChoosed()
-
Is this button the selected button?
-
NextMEX()
-
Get the next MEXButton.
-
SetChoosed()
-
Set this MEXButton to the selected button.
-
drawButton(Graphics)
-
-
mouseUpButton(int, int)
-
MEXButton
public MEXButton(MEXButtonList father,
MEXButton brother,
int bnum,
String l,
int x,
int y,
int w,
int h,
Font f,
Font cfnt)
-
Creates an mutual exclusive button. Will be called only
from within the MEXButtonList class.
-
Parameters:
-
father
-
MEXButtonList head
-
brother
-
previsious MEXButton
-
bnum
-
id-number for the button
-
l
-
label
-
x
-
x-ccordinate of the button
-
y
-
y-coordinate of the button
-
w
-
the size().width
-
h
-
the size().height
-
f
-
the font used for the label
-
cfnt
-
the font used for the selected label
SetChoosed
public void SetChoosed()
-
Set this MEXButton to the selected button.
Will be called only via class MEXButtonList.
Don't call this function directly.
ClearChoosed
public void ClearChoosed()
-
Set this MEXButton to an unselected button.
Will be called only via class MEXButtonList.
Don't call this function directly.
IsChoosed
public boolean IsChoosed()
-
Is this button the selected button?
-
Returns:
-
state of this button
NextMEX
public MEXButton NextMEX()
-
Get the next MEXButton.
Will be called only via class MEXButtonList.
Don't call this function directly.
-
Returns:
-
next MEXButton in the internal list.
drawButton
protected void drawButton(Graphics g)
mouseUpButton
protected boolean mouseUpButton(int x,
int y)